Linking to a named anchor

Named anchors set position placemarkers in a document. Use named anchors to link to a particular area in the current document or in a different document. Named anchors are often used to jump to a specific topic or to the top of a document, quickly taking your visitor to the selected position.

Creating a link to a named anchor is a two-step process. First, create a named anchor, then create a link to the named anchor.

Note: Named anchors are case sensitive.

To create a named anchor:

1 In the Document window, place the insertion point where you want the named anchor.
2 Do one of the following:
Choose Insert > Named Anchor.
Press Control+Alt+A (Windows) or Command+Option+A (Macintosh).
In the Invisibles panel of the Object palette, click the Anchor button.
3 In the Anchor Name field of the Insert Named Anchor dialog box, type a name for the anchor.
If the anchor marker doesn't appear at the insertion point location, choose View > Invisible Elements.

To link to a named anchor:

1 In the Document window, select text or an image to create a link from.
2 In the Link field of the Property inspector, type a number sign (#) and the name of the anchor. For example:
To link to an anchor named "top" in the current document, type #top.
To link to an anchor named "top" in a different document in the same folder, type filename.html#top.

To link to a named anchor using the point-to-file method:

1 Choose View > Invisible Elements to make the anchor visible.
2 Select text or an image in the Document window.
3 Do one of the following:
Click the point-to-file icon to the right of the Link field in the Property inspector and drag it to the anchor you want to link to: either an anchor within the same document or an anchor in another open document.
Shift-click in the Document window and drag to the anchor you want to link to: either an anchor within the same document or an anchor in another open document.